body {
    background-color: rgb(222, 222, 222);
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-family: "Microsoft Yahei";
}


/* 顶部 */

.top {
    background-color: rgb(51, 51, 51);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    resize: vertical;
}

.top img {
    float: left;
    margin-left: 2em;
    max-height: 60px;
}

.top ul {
    /*display: inline-block;*/
    float: right;
    /*list-style: outside none disc;*/
}

.top ul li {
    float: left;
    margin: 0 1em;
}

.top a:link {
    color: rgb(255, 255, 255);
}

.top a:visited {
    color: rgb(255, 0, 0);
}

.top a:hover {
    color: rgb(0, 255, 0);
}

.top a:active {
    color: rgb(0, 0, 255);
}

main {
    margin-top: 80px;
}


/* 正文 */

.article {
    background-color: rgb(255, 255, 255);
    width: 90%;
    border-bottom: 2px solid rgb(132, 132, 132);
    border-right: 2px solid rgb(132, 132, 132);
    padding: 1.5em;
    margin: 30px auto;
}

.article h1,
.sidebar h1 {
    font-size: 24px;
}

.article h2 {
    font-size: 21px;
    color: rgb(100, 100, 100);
}

.article span {
    font-size: 16px;
    color: gray;
}

.article p {
    text-indent: 2em;
}

.imgCenter {
    text-align: center;
}

li.none {
    list-style-type: none;
}

.imgBorder {
    border: 1px solid gray;
    padding: 30px;
    text-align: center;
    width: 180px;
}

.imgBorder figcaption {
    color: rgb(255, 0, 255);
    font-size: 20px;
}

.table {
    width: 100%;
}

.table,
.table th,
.table td {
    border: 1px solid gray;
    border-collapse: collapse;
}

.table caption {
    caption-side: top;
    text-align: left;
}

.table thead {
    background-color: black;
    color: white;
    text-align: left;
}

.table tfoot {
    background-color: gray;
}

.table tfoot td {
    border: 0 solid red;
}

.table a {
    text-decoration: none;
}

.sidebar {
    background-color: rgb(255, 255, 255);
    width: 90%;
    border-bottom: 2px solid rgb(132, 132, 132);
    border-right: 2px solid rgb(132, 132, 132);
    padding: 1.5em;
    margin: 30px auto;
}

.sidebar form {
    line-height: 150%;
}

.sidebar form table {
    margin-left: 200px;
}

.sidebar form table tr td:first-child {
    text-align: right;
    padding-right: 20px;
}

.sidebar form input[type="submit"] {
    border-radius: 10px;
    width: 100%;
    height: 3em;
    margin: 20px auto;
    background-color: blue;
}

footer {
    height: 70px;
    line-height: 70px;
    background-color: black;
    text-align: center;
    color: white;
}
